//游戏平台信息
"use strict"
const mvc = require('cosjs.mvc');
const dbase = require('../dbase');
const cosjs   = require('cosjs');

class log extends dbase.mongodb {
    constructor(){
        super('log');
    }

    push(data){
        data['_id']=this.ObjectID();
        return this.insert(data);
    }
}

module.exports = function(){
    return new log();
}

//索引
module.exports.indexes = [
    [{"name":1,"time":1},{}]
]



